<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Models\Node;
use Illuminate\Http\Request;

class IndexController extends CommonController
{
    //
    public function index(){

        return view('admin.index.index');
    }
    public function logout(){
        auth()->logout();
        return redirect(route('admin.login'))->with(['error'=>'请重新登录']);
    }
}
